﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SuaChuaCaiTao24H
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                
            }
            try
            {
                if (Request.QueryString["lang"].Equals("en"))
                {
                    Session["lang"] = "en";
                }
                else
                    Session["lang"] = "vi";
            }
            catch (Exception)
            {

            }
            try
            {
                if (Session["lang"].Equals("en"))
                {
                    Response.Redirect("~/en/about-us.aspx");
                }
                else
                {
                    Response.Redirect("~/vi/gioi-thieu.aspx");
                }
            }
            catch (Exception)
            {

            }
        }
    }
}